package STUDENT.TRINHQUANGXUANDUC.OPPS.TAMGIAC;

public class TamgiacObject {
	private double side1, side2, side3;

	public double getSide1() {
		return side1;
	}

	public void setSide1(double side1) {
		this.side1 = side1;
	}

	public double getSide2() {
		return side2;
	}

	public void setSide2(double side2) {
		this.side2 = side2;
	}

	public double getSide3() {
		return side3;
	}

	public void setSide3(double side3) {
		this.side3 = side3;
	}

	TamgiacObject() {
		side1 = 1;
		side2 = 1;
		side3 = 1;
	}

	TamgiacObject(double side1, double side2, double side3) {
		this.side1 = side1;
		this.side2 = side2;
		this.side3 = side3;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "Triangle: side 1 =" + side1 + " Side 2= " + side2 + " Side 3 = " + side3;
	}
}
